package ee.sepp.aui.ui.views.footer;

import com.vaadin.ui.Alignment;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.VerticalLayout;

@SuppressWarnings("serial")
public class AuiFooter extends Panel {
	public AuiFooter() {
		super("Footer");
		
		VerticalLayout footerContent = new VerticalLayout();
		footerContent.setSizeFull();
		footerContent.setMargin(true);
		Label contacts = new Label("Sander Sepp 2013");
		footerContent.addComponent(contacts);
		footerContent.setComponentAlignment(contacts, Alignment.MIDDLE_CENTER);
		setContent(footerContent);
	}
}
